css select labels for checked checkbox

179

input[type="checkbox"]:checked + label  { color:green; }
/* input:checked + label  { color:green; } /* short version */

Comments

Submit
0 Comments